package com.yunxin.core.application.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yunxin.core.application.command.user.AddUserTeamCommand;
import com.yunxin.core.domain.model.team.UserTeamShip;

import java.util.List;

public interface UserTeamShipService extends IService<UserTeamShip> {

    void saveUserTeamShip(Long userMerchantId, List<AddUserTeamCommand> userTeamCommands);

    void deleteUserTeamByUserId(Long userMerchantId);

    List<UserTeamShip> selectUserTeamShipByUserId(Long id);

    List<UserTeamShip> selectUserTeamShipByTeamId(Long teamId);

    List<UserTeamShip> selectUserTeamShipByTeamIds(List<Long> teamIds);

    void deleteUserTeamByTeamId(Long teamId);


}
